package edu.kit.aifb.ruleintegrator.rule;

import java.util.Collection;
import java.util.HashMap;
import java.util.Map;

import org.semanticweb.yars.nx.Variable;

public class SignatureMapping {
	private Map<Variable,Variable> m_map;
	
	private final Predicate m_pred;
	
	public SignatureMapping(Predicate pred){
		this.m_map=new HashMap<Variable, Variable>();
		this.m_pred=pred;		
	}
	
	public void map(Variable predVar,Variable var){
		this.m_map.put(predVar, var);
	}
	public Predicate getPredicate() {
		return m_pred;
	}

	public Collection<Variable> getVariables(){
		return m_map.values();
	}
	

}
